package com.jmp.dto;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

@Data
@Slf4j
public class LiveEndRequest extends LiveRequest {

    private String stream_id;
    private Integer errcode;

    @Override
    public boolean check() {
        if (getEvent_type() != 0) {
            log.warn("event({}) is not 0", getEvent_type());
            return false;
        }
        return super.check();
    }
}
